package com.only4play.user.model.entity;

import com.only4play.jpa.support.entity.AggregateEntity;
import jakarta.persistence.*;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * @author liyuncong
 * @version 1.0
 * @file UserPerson.java
 * @brief UserPerson
 * @details UserPerson
 * @date 2022-04-01
 * <p>
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-04-01                  liyuncong          Created
 */
@Entity
@Table(name = "user_person")
@Getter
@Setter
public class UserPerson extends AggregateEntity {
    @Id
    private String id;
    private String nickname;
    private String fullName;
    private Integer gender;
    private String email;
    private String phone;
    private Integer authStatus;
}
